From 6e16030030e273bee4957a2b6276c0cfd542fd86 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 10 May 2005 02:55:52 +0000 Subject: [PATCH] Remove C99-ism. --- pathaway.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pathaway.c b/pathaway.c index 2e134ec48..65b926dcf 100644 --- a/pathaway.c +++ b/pathaway.c @@ -62,6 +62,7 @@ ppdb_read(void) int latdeg, longdeg; double latval, longval, altfeet; struct tm dttm; + route_head *track_head; if (NULL == (pdb = pdb_Read(fileno(fd)))) { fatal(MYNAME ": pdb_Read failed\n"); @@ -75,7 +76,7 @@ ppdb_read(void) fatal(MYNAME ": This file is from an untested version of PathAway and is unsupported.\n"); } - route_head *track_head = route_head_alloc(); + track_head = route_head_alloc(); track_add_head(track_head); track_head->rte_name = xstrdup(pdb->name); -- 2.30.2